<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Module ra_monitors</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
</head>
<body bgcolor="white">
<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<hr>

<h1>Module ra_monitors</h1>
<ul class="index"><li><a href="#types">Data Types</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>


<h2><a name="types">Data Types</a></h2>

<h3 class="typedecl"><a name="type-component">component()</a></h3>
<p><pre>component() = machine | aux | snapshot_sender</pre></p>


<h3 class="typedecl"><a name="type-state">state()</a></h3>
<p><b>abstract datatype</b>: <tt>state()</tt></p>


<h2><a name="index">Function Index</a></h2>
<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#init-0">init/0</a></td><td></td></tr>
<tr><td valign="top"><a href="#add-3">add/3</a></td><td></td></tr>
<tr><td valign="top"><a href="#remove-3">remove/3</a></td><td></td></tr>
<tr><td valign="top"><a href="#remove_all-2">remove_all/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#handle_down-2">handle_down/2</a></td><td></td></tr>
<tr><td valign="top"><a href="#components-2">components/2</a></td><td></td></tr>
</table>

<h2><a name="functions">Function Details</a></h2>

<h3 class="function"><a name="init-0">init/0</a></h3>
<div class="spec">
<p><pre>init() -&gt; <a href="#type-state">state()</a></pre></p>
</div>

<h3 class="function"><a name="add-3">add/3</a></h3>
<div class="spec">
<p><pre>add(Pid :: pid() | node(),
    Component :: <a href="#type-component">component()</a>,
    Monitors :: <a href="#type-state">state()</a>) -&gt;
       <a href="#type-state">state()</a></pre></p>
</div>

<h3 class="function"><a name="remove-3">remove/3</a></h3>
<div class="spec">
<p><pre>remove(Target :: pid() | node(),
       Component :: <a href="#type-component">component()</a>,
       Monitors :: <a href="#type-state">state()</a>) -&gt;
          <a href="#type-state">state()</a></pre></p>
</div>

<h3 class="function"><a name="remove_all-2">remove_all/2</a></h3>
<div class="spec">
<p><pre>remove_all(Component :: <a href="#type-component">component()</a>, Monitors :: <a href="#type-state">state()</a>) -&gt;
              <a href="#type-state">state()</a></pre></p>
</div>

<h3 class="function"><a name="handle_down-2">handle_down/2</a></h3>
<div class="spec">
<p><pre>handle_down(Target :: pid() | node(), Monitors0 :: <a href="#type-state">state()</a>) -&gt;
               {[<a href="#type-component">component()</a>], <a href="#type-state">state()</a>}</pre></p>
</div>

<h3 class="function"><a name="components-2">components/2</a></h3>
<div class="spec">
<p><pre>components(Target :: pid() | node(), Monitors :: <a href="#type-state">state()</a>) -&gt;
              [<a href="#type-component">component()</a>]</pre></p>
</div>
<hr>

<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<p><i>Generated by EDoc</i></p>
</body>
</html>
